package fuxi;

public class Zuidazhi {
    public static void main(String[] args) {
        int [] arr=new int[]{3,6,9};
        for (int i = 0; i < arr.length; i++) {
            int max=arr[0];
            if (arr[i]>arr[0]){
                max=arr[i];
                System.out.println(max);
            }
        }
    }
}
